﻿using System.ComponentModel.DataAnnotations;

namespace T.E.ERP.Read.API.Dtos.Dtos
{
    /// <summary>
    /// 退货通知单的所有信息
    /// </summary>
    public class Fanreturn_notice_mainDtos
    {

        /// <summary>
        /// 主键，退货通知单唯一标识
        /// </summary>
        public int notice_id { get; set; }
        /// <summary>
        /// 单据编码	
        /// </summary>
        public Guid document_code { get; set; }
        /// <summary>
        /// 单据日期（默认当前日期：2025-03-21）	
        /// </summary>
        public DateTime document_date { get; set; }


        /// <summary>
        /// 业务类型
        /// </summary>
        public string business_type_id { get; set; }
        /// <summary>
        /// 外键，仓库编码（如 “成品仓”）
        /// </summary>
        public int warehouse_id { get; set; }
        /// <summary>
        /// 操作员（如 njrsun）	
        /// </summary>
        public string operators { get; set; }
        /// <summary>
        /// 客户名称	
        /// </summary>

        public string customer_name { get; set; }
        /// <summary>
        /// 单据状态（如 “开立”）	
        /// </summary>
        public string document_status { get; set; }
        /// <summary>
        /// 审核员	
        /// </summary>
        public string auditor { get; set; }
        /// <summary>
        /// 审核日期	
        /// </summary>
        public DateTime audit_date { get; set; }
        /// <summary>
        /// 业务状态（如 “正常”）	
        /// </summary>
        public int business_status_id { get; set; }
        /// <summary>
        /// ，退货原因编码（如 “外观问题”）	
        /// </summary>
        public string return_reason_code { get; set; }
        /// <summary>
        /// ，处理方式编码（如 “无”）	
        /// </summary>
        public string handling_method_code { get; set; }
        /// <summary>
        /// 备注信息
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 删除标识符
        /// </summary>
        public bool IsDel { get; set; }

        /// <summary>
        /// 退货通知单的审批状态
        /// </summary>
        public string? ShenPiStatus { get; set; }



        /// <summary>
        /// 单据编码   外键  （销售订单/销售出库单据/采购入库单据）
        /// </summary>
        public Guid SaleCode { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public long MaterialsCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialsName { get; set; }
        /// <summary>
        /// 型号规格
        /// </summary>
        public string? ModelSpecification { get; set; }
        /// <summary>
        /// 颜色 
        /// </summary>
        public string? Color { get; set; }
        /// <summary>
        /// 主计量
        /// </summary>
        public string? Calulate { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? CalulateNumber { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int? OutBoundNumber { get; set; }
        /// <summary>
        /// 体积
        /// </summary>
        public double? Volume { get; set; }
        /// <summary>
        /// 批号
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public double? Price { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public double? TotalPrice { get; set; }
        /// <summary>
        /// 质量要求
        /// </summary>
        public string? QualityRequir { get; set; }
        /// <summary>
        /// 包装要求
        /// </summary>
        public string? PackRequir { get; set; }
        /// <summary>
        /// 物料类型//1:销售订单单据 2：采购入库单据  3：销售出库单据    
        /// </summary>
        public int? MaterialsClass { get; set; }



    }



}
